﻿using System;
using System.Collections.Generic;
using System.Text;
using AppCommon.Framework.Ui;
using CVSS.Client.BDM.UI;
using SysCommon;
using SysCommon.Interface.BaseDataManage;

namespace CVSS.Client.BDM
{
    public class BDM_VehicleMgmtBizCtrlImpl : BaseBizController, IBDM_VehicleMgmtBizCtrl
    {
        public BDM_VehicleMgmtBizCtrlImpl(): base(null)
        {
        }

        public bool ShowForm()
        {
            try
            {
                Global.mainLog.Debug("进入 BDM_VehicleMgmtBizCtrlImpl 的 ShowForm 方法");
                VehicleManageFormMDT mMdt = new VehicleManageFormMDT();
                bool re = mMdt.ShowForm();
                Global.mainLog.Debug("调用 BDM_VehicleMgmtBizCtrlImpl 的 ShowForm 结束");
                return re;
            }
            catch (Exception ex)
            {
                Global.mainLog.Error("调用 BDM_VehicleMgmtBizCtrlImpl 的 ShowForm 出错", ex);
                return false;
            }
        }

        protected override void LoadChildView()
        {
        }

        public override bool Initialization()
        {
            return true;
        }

        public override bool Release()
        {
            return true;
        }
    }
}
